<template>
    <h2>我是About的内容</h2>
</template>

<script>
    export default {
        name: "About",
        beforeDestroy() {
            console.log("About销毁之前")
        },

        beforeRouteEnter(to,from,next){
            console.log("beforeRouteEnter")
            next()
        },
        beforeRouteLeave(to,from,next){
            console.log("beforeRouteLeave")
            next()
        },

        mounted() {
            console.log("About挂载之前",this)
        }
    }
</script>

<style scoped>

</style>